import request from '@/utils/request.js'
import api from './apis.js'

export function getStateSite (params) {
	return request(`${api.StateSite}?orderBy=${params}`, 'POST')
}

export function getStateYangSite (ids,params) {
	return request(`${api.StateYangSite}?areaIds=${ids}${params}`, 'POST')
}
export function getStateNoiseSite (ids,params) {
	return request(`${api.StateNoiseSite}?areaIds=${ids}${params}`, 'POST')
}

export function getStateSiteDetail (params) {
	return request(`${api.StateDetail}${params}`, 'POST')
}
// 扬尘
export function getRaiseSiteDetail (params) {
	return request(`${api.DeviceDetail}${params}`, 'POST')
}
// 国控站点折线图
export function getLineDustStationData (params) {
	return request(`${api.LineDustStationData}?${params}`, 'POST')
}